listitemwidget: Activate on release instead of press
authorAlexander Mikhaylenko <alexm@gnome.org>
Mon, 28 Dec 2020 14:41:30 +0000 (19:41 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Tue, 19 Jan 2021 07:36:32 +0000 (12:36 +0500)
commit5968b10b0b140530ded1689d5d0ee04dbf784afd
tree86384b5cd2676d409b277f001b33c661f3f91cd7
parente6f0103940e2dbec15fb46138f936ab7400b80f8
listitemwidget: Activate on release instead of press

Single click activation should only be done on release and not on press,
otherwise it breaks touch scrolling. Double-click activation still can be
done on press.

This matches the GtkListBox behavior as well.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3345
gtk/gtklistitemwidget.c